namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class urm_rs_bom
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [StringLength(100)]
        public string MITM { get; set; }

        [Required]
        [StringLength(100)]
        public string SITM { get; set; }

        public int? QANA { get; set; }

        [StringLength(100)]
        public string MITM_NAME { get; set; }

        [StringLength(50)]
        public string M_MEASURE { get; set; }

        [StringLength(50)]
        public string S_MEASURE { get; set; }

        public int? IS_CRITICAL { get; set; }

        public int? IS_SAFE_COMPONENT { get; set; }

        public int? NNTS { get; set; }

        [StringLength(50)]
        public string WORK_CELL_GID { get; set; }

        [StringLength(100)]
        public string CWAR { get; set; }

        public int? TYPE { get; set; }

        public int? VER { get; set; }

        [StringLength(50)]
        public string BOM_CODE { get; set; }

        public int? IMPORT_VERSION { get; set; }

        [StringLength(50)]
        public string BOM_VERSION_GID { get; set; }

        [StringLength(200)]
        public string ORDER_NUM { get; set; }

        [StringLength(200)]
        public string RESERVE_ID { get; set; }

        [StringLength(200)]
        public string RESERVELINE_ID { get; set; }

        [StringLength(200)]
        public string SITM_DESC { get; set; }

        [StringLength(50)]
        public string IS_VIRTUAL { get; set; }

        public int? SHIP_STATE { get; set; }

        [StringLength(50)]
        public string OPTIONAL_TYPE_GID { get; set; }

        [StringLength(200)]
        public string SEQUENCE_NUM { get; set; }

        public DateTime? DUE_DATE { get; set; }

        [StringLength(200)]
        public string DATA_STATE { get; set; }

        public DateTime? BEGIN_DATE { get; set; }

        public DateTime? END_DATE { get; set; }

        public int END_FLAG { get; set; }

        public int? IS_EDIT { get; set; }

        public int? IS_PUBLISH { get; set; }

        [StringLength(50)]
        public string SPECIFICATION { get; set; }

        [StringLength(50)]
        public string MODEL { get; set; }

        [StringLength(50)]
        public string ROUTE_GID { get; set; }

        [StringLength(50)]
        public string OP_GID { get; set; }

        [StringLength(50)]
        public string WORK_CENTER_GID { get; set; }

        public int? IS_DEFAULT { get; set; }

        public int? IS_ENABLE { get; set; }

        [StringLength(50)]
        public string PID { get; set; }

        public int? OPTIONAL_TYPE_FLAG { get; set; }

        [StringLength(200)]
        public string REMARK { get; set; }

        [StringLength(32)]
        public string OP_CODE { get; set; }

        [StringLength(500)]
        public string OP_NAME { get; set; }

        [StringLength(32)]
        public string NEXT_CODE { get; set; }

        public DateTime? MARK_TIME { get; set; }

        [StringLength(50)]
        public string RS_CLASS_GID { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        public DateTime CREATE_DATE { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        public DateTime? MODIFY_DATE { get; set; }

        public decimal IS_ACTIVE { get; set; }

        public decimal IS_DELETE { get; set; }

        [StringLength(100)]
        public string SITE { get; set; }

        [StringLength(32)]
        public string CODE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }
    }
}
